/**
 * Title: jFamilyTree
 * Description: jFamilyTree mutable
 * Version: provider
 * Copyright: (c) 2001-2008
 * Terms of use:see license agreement at http://treebolic.sourceforge.net/en/license.htm
 * Author: Bernard Bou
 * Company: bsys
 * Update: Mon Mar 10 00:00:00 CEST 2008
 */
package jFamilyTree.model;

import java.awt.Color;

import jFamilyTree.model.Edge;

/**
 * Mutable edge
 * 
 * @author Bernard Bou
 */
public class MutableEdge extends Edge
{
	/**
	 * Construct node
	 * 
	 * @param thisFromNode
	 *        from node
	 * @param thisToNode
	 *        to node
	 */
	public MutableEdge(INode thisFromNode, INode thisToNode)
	{
		super(thisFromNode, thisToNode);
	}

	/**
	 * Set label
	 * 
	 * @param thisLabel
	 *        label
	 */
	public void setLabel(String thisLabel)
	{
		theLabel = thisLabel;
	}

	/**
	 * Set color
	 * 
	 * @param thisColor
	 *        color
	 */
	public void setColor(Color thisColor)
	{
		theColor = thisColor;
	}

	/**
	 * Set style
	 * 
	 * @param thisStyle
	 *        edge style
	 */
	public void setStyle(Integer thisStyle)
	{
		theStyle = thisStyle;
	}

	/**
	 * Set image filename
	 * 
	 * @param thisImageFile
	 *        image filename
	 */
	public void setImageFile(String thisImageFile)
	{
		theImageFile = thisImageFile;
	}
}
